/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gamesync;

/**
 *
 * @author trungdung
 */
public class GameSync {

    //0-client mode, 1-server mode
    public static int MODE=0;
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Logger.startLogger();
        new ClientMonitorFrame().setVisible(true);
        new SyncClient().startSyncClient();
        if(MODE==1) {
            new ServerMonitorFrame().setVisible(true);
            new SyncDeamon().startSyncDeamon();
        }
    }
}
